﻿using BCCommon.OAEnums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace BCDto.OA.Workflow.WorkflowOperation
{
    /// <summary>
    /// 工作流操作
    /// </summary>
    public class WorkflowOperationRequestDto
    {
        /// <summary>
        /// 任务记录编号
        /// </summary>
        [Display(Name = "任务记录编号")]
        [Required(ErrorMessage ="{0} 不允许为空")]
        public string TaskRecordNo { get; set; }
        /// <summary>
        /// 处理状态
        /// </summary>
        [Display(Name = "处理状态")]
        [Required(ErrorMessage = "{0} 不允许为空")]
        public OATaskHandleOperationStatus HandleStatus { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 扩展方法编码
        /// </summary>
        public string ExtendMethodCode { get; set; }
        /// <summary>
        /// 参数列表
        /// </summary>
        public Dictionary<string,object> Parameters { get; set; }  
    }
}
